package com.ecar.api.service.driver;

import java.util.List;

import com.ecar.common.dto.DataBean;
import com.ecar.core.driver.entity.Car;
import com.ecar.core.driver.entity.RecommendCar;

public interface CarService {
    int deleteByPrimaryKey(String id);

    int insert(Car record);

    int insertSelective(Car record);

    DataBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);
    
    DataBean selectByDriverId(String driverId);
    
    Car selectCarByDriverId(String driverid);

	List <Object>selectAllCarType();
	
	List<RecommendCar> selectAllRecommendCar();
}